﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Manager.master" AutoEventWireup="true" CodeFile="PrivateConfiguration.aspx.cs" Inherits="User_PrivateConfiguration" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <script type="text/javascript">
        var config = function () {
            var postback = this.postback.fn
            postback();
            return false;
        }
    </script>
    <div style="margin:0 auto">
        <div class="content_area1">
            <h1>Thiết lập thông báo</h1>
            <div style="margin-left:20px;">
                <table width="100%">
                    <tr style="height:25px">
                        <td><asp:CheckBox ID="chkToEmail" runat="server" Text="Nhận tin nhắn vào email" CssClass="jquery-checkbox" /></td>
                    </tr>
                    <tr style="height:25px">
                        <td><asp:CheckBox ID="chkMsgAdmin" runat="server" Text="Nhận thông báo từ admin" CssClass="jquery-checkbox" /></td>
                    </tr>
                    <tr style="height:25px">
                        <td><asp:CheckBox runat="server" Text="Nhận thông báo từ thành viên khác" CssClass="jquery-checkbox" ID="chkMsgUser" /></td>
                    </tr>
                    <tr style="height:25px">
                        <td>
                            <ext:Panel runat="server" Border="false">
                                <Items>
                                    <ext:Label ID="lblMsg" runat="server"></ext:Label>
                                </Items>
                            </ext:Panel>
                        </td>
                    </tr>
                </table>
                <div style="width:200px">
                    <ext:Panel ID="Panel1" runat="server" Border="false">
                        <Buttons>
                            <ext:Button Icon="Accept" runat="server" ID="btnSaveConfig" Text="Lưu cấu hình" AutoPostBack="true" OnClick="btnSaveConfig_Click">
                                <Listeners>
                                    <Click Fn="config" />
                                </Listeners>
                            </ext:Button>
                        </Buttons>
                    </ext:Panel>
                </div>
                <asp:HiddenField ID="hdfConfig" runat="server" />
            </div>
            <br class="clear" />
            <img src="<%= ResolveUrl("~/images/bottom.jpg")%>" align="absbottom" alt="" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

